﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IDAL
{
    public interface IUserInfo
    {
        /// <summary>
        /// 通过用户名查询用户
        /// </summary>
        /// <param name="username">用户名</param>
        /// <returns>用户对象</returns>
        Model.UserInfo GetUserInfoByUserName(string username);
        /// <summary>
        /// 通过用户编号查询用户
        /// </summary>
        /// <param name="uid">用户名</param>
        /// <returns>用户对象</returns>
        Model.UserInfo GetUserInfoByUID(int uid);
    }
}
